<?php
	$MyDirectory = opendir("../piecesJointes") or die('Erreur');
		while($Entry = @readdir($MyDirectory)) {
			if (strlen($Entry) > 6){
				echo $Entry.'<br />';
			}
		}
	closedir($MyDirectory);
?>